Character AddHatchPatternHelixFilling
Adds a helix type pattern to the character
| public void AddHatchPatternHelixFilling(float helixGap, HelixStyle style, HatchOffsetAlgorithm algorithm, HatchCornerStyle cornerStyle, int repeatCount) |
Return value
| void |
Parameters
| float | helixGap | pitch of the helix |
| HelixStyle | style | Style of the Helix |
| HatchOffsetAlgorithm | algorithm | HatchOffsetAlgorithm to be used |
| HatchCornerStyle | cornerStyle | Corner style of the hatch |
| int | repeatCount | The Number of times the hatch should repeat |
Example
Copy
TextShape text = new TextShape();
Character character = new Character();
character.CharacterUnicode = 'A';
character.Height = 10;
character.FontName = "Arial";
character.FontStyle = FontStyle.Regular;
character.AddHatchPatternHelixFilling(0.2f, HelixStyle.InwardToOut, HatchOffsetAlgorithm.DirectOffset,
HatchCornerStyle.SmoothWithArcs, 1);
text.Characters.Add(character);